package com.viking.framework.spring;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;

public class BeanCreateFactoryAware implements BeanFactoryAware {
	private String targetBeanName;

	private BeanFactory beanFactory;

	public void setTargetBeanName(String targetBeanName) {
		this.targetBeanName = targetBeanName;
	}

	public void setBeanFactory(BeanFactory beanFactory) {
		this.beanFactory = beanFactory;
	}

	public BeanFactory getBeanFactory() {
		return this.beanFactory;
	}

	public String getTargetBeanName() {
		return this.targetBeanName;
	}
}
